@charset "utf-8";
@import "compass/reset";
@import "compass/utilities/sprites";   
@import "ui/*.png";              
@include all-ui-sprites;
html,body{
    height: 100%;
    //-webkit-user-select: none;
}
*{transition-timing-function: ease-in-out;}
a{
    text-decoration: none;
}
a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);}
.f_l { float:left; }
.f_r { float:right; }
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.hide{
    display: none;
}
body{
    position: relative;
    width: 640px;
    box-shadow: 0 0 160px 0 #eaeaea;
    margin: 0 auto;
    min-height: 100%;
    font-size: 24px;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    color: #fff;
}
img{
    vertical-align: top;
}
#wrap{
    height: 100%;
    width: 640px;
    min-height: 1008px;
    background: url(../images/assets/bg.jpg) no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 1px;
}
.logo{
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 12px;
}
.rules{
    display: inline-block;
    position: absolute;
    height: 145px;
    width: 145px;
    top: -4px;
    right: 0;
}
.slogan{
    margin-top: 68px;
}
.game-box{
    margin: 18px auto 0;
    background: url(../images/assets/game-bg.png) no-repeat;
    width: 572px;
    height: 370px;
    box-sizing: border-box;
    ul{
        position: relative;
    }
    li{
        width: 140px;
        height: 120px;
        box-sizing: border-box;
        position: absolute;
        display: -webkit-box;
        -webkit-box-align: center;
        -webkit-box-pack: center;
        text-align: center;
        font-size: 24px;
        //-webkit-text-stroke: 1px #d99f3a;
        color: white;
        text-shadow: 1px 1px 2px #d99f3a,-1px -1px 2px #d99f3a;
        &.on{
            background: url(../images/assets/light.png) no-repeat;
            background-size: 140px 120px;
        }
    }
}

.ui-txt-1{
    width: 450px;
    height: 34px;
    margin: 24px auto 45px;
}
.rcode{
    width: 240px;
    height: 60px;
    background: #fff;
    color: #000;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    padding: 15px;
    line-height: 30px;
    font-size: 24px;
    outline: none;
    margin-bottom: 40px;
}
.ui-lottery{
    display: inline-block;
    width: 273px;
    height: 84px;
}
.layermbox{
    .layermchild{
        max-width: 515px !important;
        min-width: 515px !important;
        border-radius: 15px !important;
        border: 2px solid #fff55d;
        box-shadow: none !important;
        background: -webkit-linear-gradient(rgba(117,163,80,.79), rgba(13,101,50,.79));
    }
    .layermcont{
        padding: 0;
        color: #fff55d;
    }
    .btn-group{
        font-size: 0;
        margin-bottom: 20px;
        a{
            display: inline-block;
            width: 186px;
            height: 61px;
            margin: 0 16px;
        }
    }
    .laymshade{
        width: 640px;
        left: 50%;
        margin-left: -320px;
    }
}
#rule-box{
    .title{
        display: inline-block;
        height: 68px;
        width: 280px;
        background: rgba(167,255,89,.79);
        border-radius: 0 0 15px 15px;
        text-align: center;
        border: 0;
        margin: 0;
        padding: 0;
    }
    .ui-rule-title{
        display: inline-block;
        width: 169px;
        height: 40px;
        vertical-align: top;
        margin-top: 14px;
    }
    .scroll{
        text-align: left;
        font-size: 28px;
        line-height: 48px;
        margin-top: 25px;
        height: 530px;
        overflow: hidden;
        padding: 0 40px;
        position: relative;
    }
    .ui-home{
        display: inline-block;
        width: 186px;
        height: 61px;
        margin: 30px 0 20px;
    }
}

#result-box-1{
    .title{
        font-size: 30px;
        line-height: 30px;
        margin: 40px 0 30px;
    }
    .prize-name{
        font-size: 36px;
        line-height: 36px;
        color: #fff;
    }
    .tip{
        font-size: 26px;
        line-height: 26px;
        margin: 30px 0;
    }
}

#result-box-2{
    .title{
        font-size: 36px;
        line-height: 36px;
        margin: 64px 0 25px;
        color: #fff;
    }
    .tip{
        font-size: 26px;
        line-height: 37px;
        padding: 0 55px;
        margin-bottom: 18px;
    }
}

.result-box{
    .msg{
        font-size: 36px;
        line-height: 36px;
        margin: 103px 0 75px;
        color: #fff;
    }
}

#result-box-6{
    .tip{
        font-size: 30px;
        line-height: 50px;
        margin: 70px 0 35px;
    }
}

#validate-box{
    .title{
        font-size: 30px;
        line-height: 30px;
        color: #f5ffb1;
        margin: 55px 0;
    }
    .ui-item{
        margin-bottom: 32px;
        font-size: 0;
    }
    input{
        background: #c8a76e;
        border: 0;
        border-radius: 0;
        outline: none;
        width: 298px;
        height: 54px;
        line-height: 30px;
        font-size: 28px;
        padding: 12px;
        box-sizing: border-box;
    }
    #vcode{
        width: 167px;
        margin-right: 20px;
    }
    .ui-send{
        display: inline-block;
        width: 109px;
        height: 54px;
        vertical-align: top;
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        line-height: 56px;
        color: #683300;
    }
    ::-webkit-input-placeholder{
        color: #683300;
        line-height: 30px;
    }
}
//remind
.modal {
    height: 100%;
    position: fixed;
    z-index: 19891015;
    width: 640px;
    top: 0;
    background: rgba(0,0,0,.5);
}

#remind{
    width: 461px;
    height: 200px;
    position: fixed;
    box-sizing: border-box;
    border-radius: 15px;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -230px;
    z-index: 99999999;
    display: -webkit-box;
    -webkit-box-align: center;
    border: 2px solid #fff55d;
    background: -webkit-linear-gradient(rgba(117,163,80,.79), rgba(13,101,50,.79));
    .content{
        color: #f3ff6a;
        font-size: 28px;
        text-align: center;
        width: 381px;
        padding: 20px 40px;
        line-height: 45px;
    }
}

.iScrollVerticalScrollbar {
  position: absolute;
  z-index: 9999;
  width: 10px;
  bottom: 2px;
  top: 2px;
  right: 10px;
  overflow: hidden;
}

.iScrollVerticalScrollbar.iScrollBothScrollbars {
  bottom: 18px;
}

.iScrollIndicator {
  position: absolute;
  border-radius: 10px;
}

.iScrollVerticalScrollbar .iScrollIndicator {
  width: 100%;
  background: #fff55d;
}
